; Copyright (C) 2021 Rain

; This file is part of XNIX. 
; XNIX is free software: you can redistribute it and/or modify 
; it under the terms of the GNU General Public License as published by 
; the Free Software Foundation, either version 3 of the License, or 
; (at your option) and later version. 

; XNIX is distributed in the hope that it will be useful, 
; but WITHOUT ANY WARRANTY; without even the implied warranty of 
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
; GNU General Public License for more details. 

; You should have received a copy of the GNU General Public License 
; along with XNIX. If not, see <https://www.gnu.org/licenses/>.  




PATT_PRESENT 	equ 0x0001
PATT_RDWR	equ 0x0002
PATT_USER	equ 0x0004
PATT_CACHEMEM	equ 0x0008
PATT_NOCACHE	equ 0x0010
PATT_ACCESSED	equ 0x0020
PATT_DIRTY	equ 0x0040
PATT_BIGPAGE	equ 0x0080
PATT_GLOBAL	equ 0x0100
PATT_PAT 	equ 0x1000

; 0x83 it is. 
PAGE_KERNEL	equ PATT_PRESENT + PATT_RDWR + PATT_BIGPAGE

; this is linux's 007. (8-based 007)
PAGE_USER	equ PATT_PRESENT + PATT_RDWR + PATT_USER + PATT_BIGPAGE

; yeah, I lost this so will error in loader. :-(
PAGE_DIR 	equ PATT_PRESENT + PATT_RDWR + PATT_USER

